projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1e3f33
)
(delete-trailing-whitespace): Remove extraneous let.
author
Miles Bader
<miles@gnu.org>
Fri, 15 Dec 2000 16:24:13 +0000
(16:24 +0000)
committer
Miles Bader
<miles@gnu.org>
Fri, 15 Dec 2000 16:24:13 +0000
(16:24 +0000)
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index b145a4a0f928e6a8bcd896cac55120970fac047a..21118aa5c9166da8f3bd4945c56cf769b7cf8587 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-232,11
+232,10
@@
This respects narrowing, created by \\[narrow-to-region] and friends."
(interactive "*")
(save-match-data
(save-excursion
- (let (eol bol)
(goto-char (point-min))
(while (re-search-forward "\\s-$" nil t)
(skip-syntax-backward "-" (save-excursion (forward-line 0) (point)))
- (delete-region (point) (match-end 0))))))
)
+ (delete-region (point) (match-end 0))))))
(defun newline-and-indent ()
"Insert a newline, then indent according to major mode.